package com.mrlv.ht.mapper;

import com.mrlv.ht.pojo.Dept;
import com.mrlv.ht.pojo.DeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeptMapper {
	
	//新增
	List<Dept> findAllDept();
	int deleteBatch(String[] deptId);
	int updateBatch1(String[] deptId);
	int updateBatch0(String[] deptId);
	
	
    int countByExample(DeptExample example);

    int deleteByExample(DeptExample example);

    int deleteByPrimaryKey(String deptId);

    int insert(Dept record);

    int insertSelective(Dept record);

    List<Dept> selectByExample(DeptExample example);

    Dept selectByPrimaryKey(String deptId);

    int updateByExampleSelective(@Param("record") Dept record, @Param("example") DeptExample example);

    int updateByExample(@Param("record") Dept record, @Param("example") DeptExample example);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);

}